export function resolution2scale(resolution: number) {
  const scale = (200 * 0.248) / Math.sqrt(resolution);
  return scale;
}

export function resolution2size(resolution: number, size: number) {
  const scale = resolution2scale(resolution);
  return scale * size;
}
